<%--
  Created by IntelliJ IDEA.
  User: 13585
  Date: 2020/12/23
  Time: 21:20
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>

<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <link rel="stylesheet" href="layui/css/layui.css">
    <link rel="stylesheet" href="css/index.css">
</head>
<body>
<div id="addannounce" class="container">
    <form class="layui-form layui-form-pane" action="updateAnnounce" method="post">
        <input type="text" style="display: none" name="id" value="${announce.id}">
        <div class="title">
            <span>修改内容</span>
        </div>
        <div class="layui-row">
            <textarea id="text" name="newtext" required lay-verify="required" placeholder="请输入" class="layui-textarea">${announce.content}</textarea>
        </div>
        <div class="layui-form-item btn">
            <div class="layui-input-block">
                <button class="layui-btn" lay-submit lay-filter="formDemo">修改</button>
                <button type="reset" class="layui-btn layui-btn-primary">重置</button>
            </div>
        </div>
    </form>
</div>
<script type="text/javascript" src="layui/layui.js"></script>
</body>
</html>
